package com.rzico.core.plugin.dada.dadaVo;

import lombok.Data;

import java.util.Map;

@Data
public class DadaApiResponse {

    private static final int STATUS_CODE = -2;

    private final static String STATUS_MSG = "请求超时异常";

    private String status;

    private int code;

    private String msg;

    private Map<String,Object> result;

    public static DadaApiResponse except() {
        DadaApiResponse apiResponse = new DadaApiResponse();
        apiResponse.setCode(STATUS_CODE);
        apiResponse.setMsg(STATUS_MSG);
        return apiResponse;
    }

}
